package edu.ege.thesis.query;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class QueryStrings {
	Logger logger = LoggerFactory.getLogger(QueryStrings.class);
	String nytResourceURI;
	String nytIdURI;
	
    public String nytIdQueryString = "PREFIX owl: <http://www.w3.org/2002/07/owl#> "+
		    "   SELECT ?nytId"+
		    "   WHERE {  "+
		    "   ?nytId owl:sameAs %s . " + 
		    "   FILTER regex(?nytId,\"nytimes\")." + 
		    "        }";
	
	public String nytQueryQueryString = "PREFIX nyt: <http://data.nytimes.com/elements/> "+
		    "   SELECT ?query"+
		    "   WHERE {  <%s" +
		    "> nyt:search_api_query ?query .}";
	
	public static final String voidEliminationQueryString = "PREFIX prov: <http://www.w3.org/ns/prov#> " +
			" PREFIX void:<http://rdfs.org/ns/void#>" + 
			" SELECT DISTINCT ?dataset ?creator WHERE { " +
			" ?dataset a void:Dataset. " +
			" ?dataset prov:wasAttributedTo ?creator. } ";

	public String getNytIdQueryString() {
		return nytIdQueryString;
	}

	public String getNytQueryQueryString() {
		return nytQueryQueryString;
	}

}
